/*
 ============================================================================
 Name		: Utils.h
 Author	  : william
 Version	 : 1.0
 Copyright   : free software
 Description : CUtils declaration
 ============================================================================
 */

#ifndef UTILS_H
#define UTILS_H

// INCLUDES
#include <e32std.h>
#include <e32base.h>

// CLASS DECLARATION

/**
 *  CUtils
 * 
 */
class CUtils : public CBase
    {
public:
    // Constructors and destructor

    /**
     * Destructor.
     */
    ~CUtils();

    /**
     * Two-phased constructor.
     */
    static CUtils* NewL();

    /**
     * Two-phased constructor.
     */
    static CUtils* NewLC();

private:

    /**
     * Constructor for performing 1st stage construction
     */
    CUtils();

    /**
     * EPOC default constructor for performing 2nd stage construction
     */
    void ConstructL();

public:
    static void ShowMsg(const TDesC& aMsg);
    static void ShowMsg(const TDesC& aMsg, TInt aErr);
    
    };

#endif // UTILS_H
